import request from '@/utils/request'

export default {
  getBugList(searchCondition) {
    return request({
      url: `/api/bug/queryBugList`,
      method: 'post',
      data: searchCondition,
      // params: searchCondition
    })
  },

  getEmpList() {
    return request({
      url: `/api/emp/queryAll`,
      method: 'get',
      // data: searchCondition,
      // params: searchCondition
    })
  },

  getLineChartData(searchCondition) {
    return request({
      url: `/api/bug/getLineChartData`,
      method: 'post',
      data: searchCondition,
    })
  },

  getTesterBugList(searchCondition) {
    return request({
      url: `/api/bug/queryTesterBugList`,
      method: 'post',
      data: searchCondition,
    })
  },


  getTesterLineChartData(searchCondition) {
    return request({
      url: `/api/bug/getTesterLineChartData`,
      method: 'post',
      data: searchCondition,
    })
  },
}
